package com.czxy.enterprise.feign;

import com.czxy.domain.TbCandidates;
import com.czxy.domain.TbUser;
import com.czxy.findjob.vo.BaseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "candidates-service",path = "/candidates")
public interface CandidatesFeign {
    @GetMapping("/{id}")
    @ApiOperation(value = "根据id查询用户信息")
    public BaseResult<TbCandidates> getById(@PathVariable("id") Integer id);
}
